package internal

import "soluty.cc/go/godash/types"

func Contains(array []types.T, value types.T)  bool{
	for _, v := range array {
		if value == v {
			return true
		}
	}
	return false
}

func ContainsInt(l []int, v int) bool {
	for _, value := range l {
		if value == v {
			return true
		}
	}
	return false
}
